

package column


import (
	"github.com/treelab/updatecolumn/models"
)

  func instanceType() int32 {
    return models.MultiAttachment
  }


  deleteColumnEdges() {
    return this;
  }

  public hasNothingToUpdate(command: UpdateColumn_v2) {
    const { column } = command;
    return column.columnType === this.instanceType;
  }

  async convertColumn(
    command: UpdateColumn_v2,
    o: CommonOptions,
    helper: { rows?: Row[]; columnCopy?: Column; referenceColumns?: Column[]; userGroup?: any },
  ) {
    await this.defaultConvert({ command }, o, helper);
    return this;
  }

